using System.Collections;
using System.Collections.Generic;
public class Buff7 :PlayerControllerBuffBase
{
    private float m_MoveSpeedUpPercentage = 0.5f;
    private float m_RealMoveSpeedUP;
    public override string GetDescription()
    {
        return $"移动速度增加{m_MoveSpeedUpPercentage*100}%。";
    }

    public override void AfterBeAdded()
    {
        m_RealMoveSpeedUP = Owner.maxMoveSpeed_Base * m_MoveSpeedUpPercentage;
        Owner.maxMoveSpeed_Current += m_RealMoveSpeedUP;
    }
    public override void AfterBeRemoved()
    {
        Owner.maxMoveSpeed_Current -= m_RealMoveSpeedUP;
    }
}